<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>日程事务类型</title>
<link href="/widget/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet"  type="text/css"/>
<link href="/widget/iconfont/iconfont.css" rel="stylesheet" />
 {cssjs}
<link href="/res/css/inside_page.css" rel="stylesheet"  type="text/css"/>
</head>

<body>
<div class="container-fluid larry-wrapper">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <!--列表-->
                <section class="panel panel-padding">
                    <div class="group-button">
                        <button class="layui-btn layui-btn-small modal-iframe" id="btn_add">
                            <i class="iconfont">&#xe649;</i> 新建工作计划类型
                        </button>
                        <button class="layui-btn layui-btn-small layui-btn-danger ajax-all" id="btn_del" data-type='{type}'>
                            <i class="iconfont">&#xe626;</i> 删除
                        </button>
                        <button class="layui-btn layui-btn-small layui-btn-warm ajax-all" id="btn_ref">
                            <i class="iconfont">&#xe62e;</i> 刷新
                        </button>
                    </div>
                    <div class="layui-form">
                        <table class="layui-table lay-even tbfix">
                            <thead>
                                <tr>
                                    <th width="50"><input type="checkbox" id="checkall" data-name="checkbox" lay-filter="check" lay-skin="primary"></th>
                                    <th width="60">序号</th>
                                    <th style="text-align:center;">名称</a></th>
									<th width="100" style="text-align:center;">排序</th>
                                    <th width="150" style="text-align:center;">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <!-- START types -->
                                <tr>
                                    <td>
                                        <input type="checkbox" name="checkbox" lay-skin="primary" value="{id}"/>
                                    </td>
                                    <td>{id}</td>
                                    <td class="ellipsis">{name}</td>
                                    <td>{odx}</td>
                                    <td>    
                                        <button class="layui-btn layui-btn-mini layui-btn-normal ajax"  data-opt="edit"  data-id="{id}">
                                            <i class="iconfont">&#xe605;</i>编辑
                                        </button>
                                        <button class="layui-btn layui-btn-mini layui-btn-danger ajax"  data-opt="del"  data-id="{id}">
                                            <i class="iconfont">&#xe626;</i>删除
                                        </button>
                                    </td>
                                </tr>
                                <!-- END types -->
                            </tbody>
                        </table>
                    </div>
                </section>
				<div class="text-right" id="page" style="margin-top:-25px;">
					  <ul class="pagination pull-right">
                       {page}
					  </ul>
                </div>
         </div>
     </div>
</div>
   {jsmodel}
   <script type="text/javascript">
        layui.use('schedule_sys_type');		
    </script>
</body>
</html>
